import { CHANGEDATALIST } from './constants'

export const changDataListAction = dataList => ({ type: CHANGEDATALIST, dataList })

export const getDataListAction = (dispatch, getState) => {
  setTimeout(() => {
    dispatch(changDataListAction([1, 2, 3]))
  }, 2000)
}
